package com.yanqu.road.entity.mogulbirthday;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_u_mogul_birthday_record")
public class MogulBirthdayRecordData extends DataObject {

    @FieldTypeAnnotation(desc = "日期", select = true, update = true)
    private long today;

    @FieldTypeAnnotation(desc = "用户ID", update = true)
    private long userId;

    @FieldTypeAnnotation(desc = "收礼人数")
    private long getGiftNum;


    public long getToday() {
        return today;
    }

    public void setToday(long today) {
        if(this.today != today){
            this.today = today;
            setUpdateOption();
        }
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        if(this.userId != userId){
            this.userId = userId;
        }
    }

    public long getGetGiftNum() {
        return getGiftNum;
    }

    public void setGetGiftNum(long getGiftNum) {
        if(this.getGiftNum != getGiftNum) {
            this.getGiftNum = getGiftNum;
            setUpdateOption();
        }
    }
}
